package day3.Exer;

import java.util.Scanner;

public class Exer3 {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        System.out.println("请输入第一个整数");
        int a=in.nextInt();
        System.out.println("请输入第二个整数");
        int b=in.nextInt();
        System.out.println(a+"&"+b+"="+(a&b));
        System.out.println(a+"|"+b+"="+(a|b));
        System.out.println(a+"^"+b+"="+(a^b));
    }
}
